﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Routing;

namespace Dashboard.Includes
{
    public struct MenuItem
    {
        private string action;

        public String Action
        {
            get
            {
                return this.action;
            }
            private set
            {
                this.action = value;
            }
        }

        private string controller;
        public String Controller
        {
            get
            {
                return this.controller;
            }
            private set
            {
                this.controller = value;
            }
        }

        private string title;
        public String Title
        {
            get
            {
                return this.title;
            }
            private set
            {
                this.title = value;
            }
        }

        RouteValueDictionary param;
        public RouteValueDictionary Param
        {
            get
            {
                return this.param;
            }
            private set
            {
                this.param = value;
            }
        }

        public MenuItem(string action, string controller, string title, RouteValueDictionary param)
        {
            this.action = action;
            this.controller = controller;
            this.title = title;
            this.param = param;
        }
    }
}